package com.SmartCare.mapper.goodMemories;

import com.SmartCare.pojo.goodMemories.GoodMemories;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;
import java.util.Map;


@Mapper
public interface GoodMemoriesMapper extends BaseMapper<GoodMemories> {
    /* @Select("select mem.id,mem.user_id,mem.photo_url,mem.created_time, u.`name` " +
            "from good_memories mem, `user` u " +
            "WHERE mem.user_id=u.user_id "+
            "group by mem.user_id "+
            "order by mem.created_time;")
    List<Map<String, Object>> getUserNameAndItem(); */

}
